package org.railage.common.dto;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * DTO for TripThroughTwoStations entity
 * 
 * @author Cyril Fertikov
 * 
 */
public class TripThroughTwoStationsDTO implements Serializable {
	private static final long serialVersionUID = 8065411060202137845L;

	private int trip;
	private String routeName;
	private Timestamp departureFromA;
	private Timestamp arrivalToB;
	private String duration;

	public int getTrip() {
		return trip;
	}

	public void setTrip(int trip) {
		this.trip = trip;
	}

	public String getRouteName() {
		return routeName;
	}

	public void setRouteName(String routeName) {
		this.routeName = routeName;
	}

	public Timestamp getDepartureFromA() {
		return departureFromA;
	}

	public void setDepartureFromA(Timestamp departureFromA) {
		this.departureFromA = departureFromA;
	}

	public Timestamp getArrivalToB() {
		return arrivalToB;
	}

	public void setArrivalToB(Timestamp arrivalToB) {
		this.arrivalToB = arrivalToB;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	@Override
	public String toString() {
		return "TripThroughTwoStations [trip=" + trip + ", departureFromA="
				+ departureFromA + ", arrivalToB=" + arrivalToB + ", duration="
				+ duration + "]";
	}

}
